package com.novax.ex.activity.provider.controller;

import com.novax.ex.activity.open.api.BeebUserApi;
import com.novax.ex.activity.open.model.query.BeebUserQuery;
import com.novax.ex.activity.provider.service.BeebUserService;
import com.novax.ex.activity.provider.service.InternalTransferOrderBigdataService;
import com.novax.ex.common.results.ReturnResult;
import org.springframework.web.bind.annotation.RestController;

import jakarta.annotation.Resource;

/**
 * @Description
 * @Author zhaolei
 * @Date 10/24/24 3:41 PM
 * @Version 1.0
 */
@RestController
public class BeebUserController implements BeebUserApi {
    @Resource
    private BeebUserService beebUserService;
    @Resource
    private InternalTransferOrderBigdataService internalTransferOrderBigdataService;
    @Override
    public ReturnResult<?> init(BeebUserQuery query) {
        beebUserService.init(query);
        return ReturnResult.success();
    }

    @Override
    public ReturnResult<?> initUnlock(BeebUserQuery query) {
        internalTransferOrderBigdataService.init(query);
        return ReturnResult.success();
    }
}
